package com.open.capacity.finance.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 资产数据
 *
 * @author
 * @email
 * @date 2023-02-16 13:10:26
 */

@Data
public class SourceBaseAsset implements Serializable {
    private static final long serialVersionUID = 1L;


    //行号
    private Integer rowNum;
    //错误消息
    private String errorMsg;


    private Long id;

    private String companyId;

    private String companyName;

    @Excel(name = "条形码")
    private String serialNumber;

    private String categoryCode;

    @Excel(name = "资产分类")
    private String categoryName;

    @Excel(name = "资产编号")
    private String assetCode;

    @Excel(name = "资产名称")
    private String assetName;

    @Excel(name = "规格型号")
    private String model;

    @Excel(name = "使用部门")
    private String departmentName;

    private String departmentId;

    private String userCode;

    @Excel(name = "使用人")
    private String userName;

    @Excel(name = "存放地点")
    private String location;

    @Excel(name = "取得日期", format = "yyy-MM-dd")
    private Date recordDate;

    @Excel(name = "资产原值(元)")
    private BigDecimal origValue;

    @Excel(name = "净值(元)")
    private BigDecimal netValue;

    @Excel(name = "数量")
    private Integer count;

    @Excel(name = "备注")
    private String remark;

    @Excel(name = "累计折旧(元)")
    private BigDecimal depreciationValue;

    @Excel(name = "折旧年限")
    private Integer depreciationYear;

    @Excel(name = "入账日期", format = "yyy-MM-dd")
    private Date accountDate;

    @Excel(name = "会计凭证号")
    private String pzh;

    @Excel(name = "资产状态")
    private String useState;

    @Excel(name = "资产用途")
    private String useway;

    @Excel(name = "品牌型号")
    private String brand;

    @Excel(name = "车牌号")
    private String cph;

}
